+Tue Jan 17 19:27:59 2006 Tim Janik <timj@imendio.com>
+
+ * gtk/gtkprogress.c: fix adopted from maemo-gtk.
+ gtk_progress_create_pixmap(): clear out the newly created offscreen
+ pixmap, so themes making use of transparency don't draw onto garbage.
+
2006-01-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.c: remove the "child-spacing" style property again
+Tue Jan 17 19:27:59 2006 Tim Janik <timj@imendio.com>
+
+ * gtk/gtkprogress.c: fix adopted from maemo-gtk.
+ gtk_progress_create_pixmap(): clear out the newly created offscreen
+ pixmap, so themes making use of transparency don't draw onto garbage.
+
2006-01-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.c: remove the "child-spacing" style property again
widget->allocation.width,
widget->allocation.height,
-1);
+
+ /* clear the pixmap for transparent themes */
+ gtk_paint_flat_box (widget->style,
+ progress->offscreen_pixmap,
+ GTK_STATE_NORMAL, GTK_SHADOW_NONE,
+ NULL, widget, "trough", 0, 0, -1, -1);
+
GTK_PROGRESS_GET_CLASS (progress)->paint (progress);
}
}